Release 10.1A: OpenEdge Development:
Progress 4GL Reference


FIX-CODEPAGE function

Sets the code page of an empty LONGCHAR variable. When set to a valid code page, the code page of the specified variable is fixed and overrides any default behavior in assignment operations (including the COPY-LOB, OVERLAY, and SUBSTRING statements).

Syntax

FIX-CODEPAGE ( longchar ) = codepage 

longchar

The name of a LONGCHAR variable. The variable must be set to the Unknown value (?) or the empty string (""). If the string length is greater than 0, Progress returns an error.

codepage

A character expression that evaluates to the name of a code page. The name you specify must be a valid code page name available in DLC/convmap.cp. If codepage is the Unknown value (?), the code page of the LONGCHAR variable is not fixed.

See also

GET-CODEPAGE function, IS-CODEPAGE-FIXED( ) function


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095